package com.example.gb28181.request;

import javax.sip.InvalidArgumentException;
import javax.sip.PeerUnavailableException;
import javax.sip.RequestEvent;
import javax.sip.SipException;
import java.io.UnsupportedEncodingException;
import java.text.ParseException;

/**
 * 对SIP事件进行处理，包括request， response， timeout， ioException, transactionTerminated,dialogTerminated
 * @E-mail cwm3412638@163.com
 * @Author cwm
 * @Date 2022/7/21
 */
public interface SIPRequestProcessor {
    /**
     * 处理方法
     * @param event
     */
    void process(RequestEvent event) throws SipException, InvalidArgumentException, ParseException, UnsupportedEncodingException;
}
